import Header from "./components/header/header.vue"
import Footer from "./components/footer/footer.vue"
import Info from "./components/info/info.vue"
import Home from "./components/home/home.vue"
import News from "./components/news/news.vue"
import User from "./components/user/user.vue"
import Detail from "./components/detail/detail.vue"


//定义静态路由表
export const routes =[
    {path:'/',component:Home,children:[
        {path:'/',component:User},
        {path:'/detail',component:Detail},
        {path:'/news',component:News}
    ]},
    // {path:'/header',component:Header},
    // {path:'/footer',component:Footer},
    // {path:'/product',component:Product,children:[
        
    // ]},
    // {path:'/detail/:id',component:Detail},
    // {path:'/spcar',component:Spcar}
]

